package oop3;

/**
 * @author oldliu
 * @since 1.0
 */
public class Car {
    String brand;
    int price;//万

    public Car(String brand, int price) {
        this.brand = brand;
        this.price = price;
    }

    public void info() {
        System.out.println("这个轿车品牌：" + brand + "，价格：" + price + "万");
    }
}
